#include<stdio.h>

int main(void)
{
	int i,j,n;
	char c;
	scanf("%d",&n);
	scanf("%c",&c);
	scanf("%c",&c);
	for(i=1;i<=n;i++)
	{
		for(j=1;j<=i;j++)
			printf("%c",c);
		printf("\n");
	}
	return 0;
}
